package ClassesBasicas;

import java.util.ArrayList;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

@Entity
@Table(name  = "conveniado")
public class LaboratorioConveniado extends Laboratorio {
	@Column (name="codigo_convenio")
	private int codigo;

	public LaboratorioConveniado(){	
		this.codigo = 0;
	}
	public LaboratorioConveniado(String nome, ArrayList<Exames> exame) {
		super(nome, exame);
	}
	@Override
	public int getCodigo() {
		return codigo;
	}
	@Override
	public void setCodigo(int codigo) {
		this.codigo = codigo;
	}
}
